<template>
	<view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				cancel: false
			}
		},
		onLoad(option) {
			if (option) {
				console.log('blank-option-cancel', option)
				this.cancel = option.cancel
			}
		},
		onShow() {
			if (this.cancel) {
				console.log('清缓存')
				uni.clearStorageSync()
				uni.switchTab({
					url: '/pages/home/index',
				})

			}
		},
		methods: {

		}
	}
</script>

<style>

</style>